package com.droiddata;


public class TransactionStatus implements ITransactionStatus {
    private boolean rollbackOnly;
    private boolean newTransaction;
    
    public TransactionStatus(boolean newTransaction) {
	this.newTransaction = newTransaction;
    }
    
    public boolean isNewTransaction() {
	return newTransaction;
    }

    public boolean isRollbackOnly() {
	return rollbackOnly;
    }

    public void setRollbackOnly() {
	rollbackOnly = true;
    }
}
